package com.stark.wechat.service.material.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 获取图文素材响应
 *
 * @author <a href="mailto:mengbin@hotmail.com">Ben</a>
 * @version 1.0.0
 * @see <a href="https://developers.weixin.qq.com/doc/service/api/material/permanent/api_getmaterial.html#_5-1-%E5%9B%BE%E6%96%87%E7%B4%A0%E6%9D%90%E8%AF%B7%E6%B1%82%E7%A4%BA%E4%BE%8B">素材管理 / 永久素材 / 获取永久素材</a>
 * @since 2024/5/26
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class GetNewsMaterialResponsePayload implements Serializable {

    private static final long serialVersionUID = 741468281506115773L;

    /**
     * 图文消息素材列表
     */
    @JsonProperty("news_item")
    private List<NewsItem> newsItem = new ArrayList<>();

}
